// 1.
const moment = require('moment')
const dt = moment.format('YYYY-MM-DD HH:mm:ss')
console.log(dt);